<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>群众需求与留言管理 --&lt;<{$siteconfig.sitename}>&gt;</title>

<!-- CSS -->
<link href="template/default/admin/style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="template/default/admin/style/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="template/default/admin/style/css/ie7.css" /><![endif]-->

<!-- JavaScripts-->
<script type="text/javascript" src="template/default/admin/style/js/jquery.js"></script>
<script type="text/javascript" src="template/default/admin/style/js/jNice.js"></script>
</head>

<body>
	<div id="wrapper">
    	<{include file="default/admin/head.html"}>
        
        <div id="containerHolder">
		<div id="container">
        	<div id="sidebar">
                    <ul class="sideNav">
                        <li><a href="<{spUrl c=contactus a=index_c_m state=1}>">Messages Management</a></li>
                        <li><a href="<{spUrl c=contactus a=index_c_m state=0}>"  class="active">Examine Messages</a></li>
                    	                    
                    </ul>
                    <!-- // .sideNav -->
                </div>    
                <!-- // #sidebar -->
                
                <!-- h2 stays for breadcrumbs -->
                <h2><a href="#">Message</a> &raquo; <a href="#"  class="active">Examine Messages</a></h2>
                
                <div id="main">
                    <form action="" class="jNice">
			<h3>UnPassed Message List</h3>
                    	<table cellpadding="0" cellspacing="0">
                            <{foreach from=$results item=unpass_message}> 
                            <tr <{cycle values="class='odd',class=''"}>>
                                <td>◆ 时间：【<{$unpass_message.datetime}>】 留言者：【<{$unpass_message.name}>】--<{$unpass_message.content}></td>
                                <td class="action"><a href="<{spUrl c=contactus a=pass_message id=$unpass_message.id state=1}>" class="view">Pass</a><a href="" class="edit">Reply</a><a href="<{spUrl c=contactus a=delete_m id=$unpass_message.id}>" onclick="return confirm('确定删除该条记录吗？')" class="delete">Delete</a></td>
                            </tr>  
                            <{/foreach}>
                        </table>
                    </form><br/>
                    <hr/>
                    <p>
                        <{if $pager}>
                        本栏目共有信息<{$pager.total_count}>条，共有<{$pager.total_page}>页（每页<{$pager.page_size}>条信息）：
                        <!--在当前页不是第一页的时候，显示前页和上一页-->
                        <{if $pager.current_page != $pager.first_page}>
                        <a href="<{spUrl c=contactus a=index_c_m state=$smarty.get.state page=$pager.first_page}>">前页</a> | 
                        <a href="<{spUrl c=contactus a=index_c_m state=$smarty.get.state page=$pager.prev_page}>">上一页</a> | 
                        <{/if}>
                        <!--开始循环页码，同时如果循环到当前页则不显示链接-->
                        <{foreach from=$pager.all_pages item=thepage}>
                        <{if $thepage != $pager.current_page}>
                        <a href="<{spUrl c=contactus a=index_c_m state=$smarty.get.state page=$thepage}>"><{$thepage}></a>
                        <{else}>
                        <b><{$thepage}></b>
                        <{/if}>
                        <{/foreach}>
                        <!--在当前页不是最后一页的时候，显示下一页和后页-->
                        <{if $pager.current_page != $pager.last_page}>
                        | 
                        <a href="<{spUrl c=contactus a=index_c_m state=$smarty.get.state page=$pager.next_page}>">下一页</a> | 
                        <a href="<{spUrl c=contactus a=index_c_m state=$smarty.get.state page=$pager.last_page}>">后页</a>
                        <{/if}>
                        <{/if}>
                    </p> 
                    </br>
                </div>
                <!-- // #main -->                
                <div class="clear"></div>
            </div>
            <!-- // #container -->
        </div>	
        <!-- // #containerHolder -->
        
        <{include file="default/admin/footer.html"}>
    </div>
    <!-- // #wrapper -->
</body>
</html>
